const Router = require("koa-router");
const ejs = require("ejs");

module.exports = function ({ appPrefix }) {
  const router = new Router();
  ["/", appPrefix].map((path) => {
    router.get(path, async (ctx, next) => {
      ctx.body = "levenx's world";
    });
  });
  return router.routes();
};
